<template>
  <div id="box">
    <div class="left">
      <van-icon name="arrow-left" @click="Goback" />
      <span class="xinfang">新房</span>
      <van-swipe vertical class="notice-swipe" :autoplay="3000" :show-indicators="false">
        <van-swipe-item>开发商官方旗舰店</van-swipe-item>
        <van-swipe-item>售楼处专职置业顾问</van-swipe-item>
      </van-swipe>
    </div>
    <div>
      <span style="font-size: 14px" class="ditu">地图</span>
      <van-icon name="comment-o" />
    </div>
  </div>
</template>

<script>
export default {
  name: "New_Header",
  methods: {
    Goback() {
      this.$router.back();
    },
  },
};
</script>

<style scoped>
#box {
  height: 0.44rem;
  display: flex;
  align-items: center;
  color: #fff;
  justify-content: space-between;
  padding: 0 0.14rem;
}
.notice-swipe {
  height: 0.16rem;
  line-height: 0.16rem;
  flex: 1;
  font-size: 0.1rem;
  margin-left: 0.06rem;
}
.ditu {
  margin-right: 0.12rem;
}
.left {
  flex: 1;
  display: flex;
  align-items: center;
}
.xinfang {
  margin-left: 0.12rem;
  font-size: 0.14rem;
  font-weight: 800;
}
</style>
